home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: msb@sq.com
- Newsgroups: comp.std.c,comp.lang.c.moderated
- Subject: Re: Integral promotion.
- Date: 17 Feb 1996 12:11:54 -0600
- Organization: SoftQuad Inc., Toronto, Canada
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4g55pa$b7c@solutions.solon.com>
- References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com> <4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
-
- > > Hence implementation-defined behavior occurs.
- >
- > Thus, the implementation has to say exactly how it handles this.
- > There is still some question as to whether the implementation can
- > define it as an overflow resulting in program termination, is there
- > not?
-
- Nope. I requote:
-
- * From 3.10/1.6 (emphasis added):
-
- # Implementation-defined behavior -- behavior, for a CORRECT program
- # construct and CORRECT data, that depends on the characteristics of
- # the implementation and that each implementation shall document.
-
- If the construct and data are correct, then it can't be correct to cause
- program termination.
- --
- Mark Brader, msb@sq.com "Logic is logic. That's all I say."
- SoftQuad Inc., Toronto -- Oliver Wendell Holmes
-
- My text in this article is in the public domain.
-